home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
B Soft 2
/
B-Soft_2_19xx_Maik__Mike_de_Side_A.d64
/
running man
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
916b
|
44 lines
0 print"[147]joystick port ii":forx=1to1000:nextx
1 print"[147]":u=200:p=0
2 forx=0to39
3 an=1024:h=10:v=10:j=56321
4 pokean+x,102
5 nextx
6 fory=1to23
7 pokean+40*y,102
8 nexty
9 forx=0to39
10 poke1984+x,102
15 nextx
16 fort=0to23
17 poke1063+t*40,66
18 nextt
30 pokean+v*40+h,42
40 forx=1tou:nextx
50 pokean+v*40+h,81
60 forx=1tou:nextx
70 if peek(j)=254then v1=-1:h1=0:u=u-10:goto120
80 if peek(j)=253then v1=1:h1=0:u=u-10:goto 120
90 if peek(j)=251then v1=0:h1=-1:u=u-10:goto120
100 if peek(j)=247then v1=0:h1=1:u=u-10:goto120
120 v=v+v1:h=h+h1:ifv<1 then p=p+1
125 ifh<1 then p=p+1
130 if v<0 or v>24 or h<0 or h>39 then goto 150
140 goto 30
150 form=1to24
160 print"bang bang bang bang bang bang bang bang"
170 nextm
180 forx=1to1000:nextx
190 print"[147]":print:print"you have "p" points"
200 print:print"play again(y/n)?"
210 geta$:ifa$=""then210
220 ifa$="n"then new
222 ifa$="y"then goto230
224 ifa$<>"y"then goto 226
226 if a$<>"n" then goto 228
228 if a$<>"y" then goto 190
230 print"[147]":print" written by mr.joker"
235 print:print" running man"
240 forr=1to1000:nextr
250 goto 1